package com.ms3ds.deviceData.domain;

import java.time.LocalDateTime;
import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ms3ds.common.core.annotation.Excel;
import com.ms3ds.common.core.web.domain.BaseEntity;

/**
 * 进尺数据对象 footage
 * 
 * @author zlw
 * @date 2025-09-21
 */
public class Footage extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 区域id */
    private Long areaId;

    @Excel(name = "区域名")
    private String areaName;

    /** 起始值 */
    @Excel(name = "起始值")
    private Float beginData;

    /** 结束值 */
    @Excel(name = "结束值")
    private Float stopData;

    /** 进尺类型(1为开采，2为掘进) */
    @Excel(name = "进尺类型(1为开采，2为掘进)")
    private Long footageType;

    /** 时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date time;

    public String getAreaName() {
        return areaName;
    }

    public void setAreaName(String areaName) {
        this.areaName = areaName;
    }

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }

    public void setAreaId(Long areaId) 
    {
        this.areaId = areaId;
    }

    public Long getAreaId() 
    {
        return areaId;
    }

    public void setBeginData(Float beginData)
    {
        this.beginData = Float.valueOf(beginData);
    }

    public Float getBeginData()
    {
        return beginData;
    }

    public void setStopData(Float stopData)
    {
        this.stopData = Float.valueOf(stopData);
    }

    public Float getStopData()
    {
        return stopData;
    }

    public void setFootageType(Long footageType) 
    {
        this.footageType = footageType;
    }

    public Long getFootageType() 
    {
        return footageType;
    }

    public void setTime(Date time)
    {
        this.time = time;
    }

    public Date getTime()
    {
        return time;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("areaId", getAreaId())
            .append("beginData", getBeginData())
            .append("stopData", getStopData())
            .append("footageType", getFootageType())
            .append("time", getTime())
            .toString();
    }
}
